package com.kfm.service;

import com.kfm.entity.File;

import java.io.IOException;
import java.util.List;

public interface FileService{


    int deleteByPrimaryKey(Integer id);

    int insert(File record);

    int insertSelective(File record);

    File selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(File record);

    int updateByPrimaryKey(File record);

    List<File> selectByUserId(Integer userId);

    List<File> selectByDirectoryId(Integer directoryId);

    File selectByMD5AndDirectoryId(String md5, Integer directoryId);

}
